home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / RAVE DDK 1.0.6 GM for MacOS / Projects / Empty Engine Code / TtBitmap.c next >
Encoding:
C/C++ Source or Header  |  1996-04-30  |  1.3 KB  |  36 lines  |  [TEXT/MPCC]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        TtBitmap.c                                                 **
  4.  **                                                                          **
  5.  **     Purpose:     Empty rasterizer drawing engine.                         **
  6.  **                 Methods for drawing bitmaps.                             **
  7.  **                                                                          **
  8.  **     Author:        Mike W. Kelley                                             **
  9.  **                                                                          **
  10.  **                    2/3/95    Revised for 0.9 SDK release                         **
  11.  **                                                                          **
  12.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  13.  **     Apple Computer Confidential                                             **
  14.  **                                                                          **
  15.  *****************************************************************************/
  16.  
  17. #include "Drive3D.h"
  18. #include "Drive3D_system.h"
  19. #include "TtTinselTown.h"
  20.  
  21. /************************************************************************************************
  22.  * Draw a bitmap.
  23.  ***********************************************************************************************/
  24.  
  25. void TtDrawBitmap (
  26.     const TQADrawContext    *drawContext,        /* Draw context */
  27.     const TQAVGouraud     *v,                    /* xyz, and (if a 1 bit/pixel bitmap) argb */
  28.     TQABitmap            *bitmap)            /* Previously allocated by QABitmapNew() */
  29. {
  30.     TTtDrawPrivate        *myPrivate;
  31.     TTtBitmap            *myBitmap;
  32.     
  33.     myPrivate = (TTtDrawPrivate *) drawContext->drawPrivate;
  34.     myBitmap = (TTtBitmap *) bitmap;
  35. }
  36.